﻿<Window x:Class="wTeorias"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="wTeorias" Height="500" Width="450" WindowStartupLocation="CenterScreen">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="50"></RowDefinition>
        </Grid.RowDefinitions>
        <ListBox  Margin="12,12,12,12" Name="lbTeorias"  ItemsSource="{Binding}" >
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Path=TituloTeoria}"/>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
        
        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions >
                <ColumnDefinition ></ColumnDefinition>
                <ColumnDefinition ></ColumnDefinition>                
            </Grid.ColumnDefinitions>
            <StackPanel Orientation="Horizontal"   HorizontalAlignment="Left" >
                <Button Margin="10"  Content="Ver" Height="23" Name="btnVer"  Width="75" />
                <Button Margin="10" Content="Guardar" Height="23" Name="btnGuardar" Width="75" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" Grid.Column="1" HorizontalAlignment="Right">
                <Button Margin="10" Content="Aceptar" Height="23" Name="btnAceptar" Width="75" />
                <Button Margin="10" Content="Cancelar" Height="23"  Name="btnCancelar" Width="75" />
            </StackPanel>
        </Grid>
        

    </Grid>
</Window>
